﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;
using MyProj.MVCProj3.Model;
//sing MyProj.MVCProj3.DAL;

namespace MyProj.MVCProj3.IDAL
{
    public interface IDbSession
    {
        //t4模版自动生成各个仓库的interface
        IBaseRepository<UserInfo> UserInfo { get; set; }
        int ExcuteSql(string sql, params ObjectParameter[] parameters);
        int SaveChanges();
        
    }
}
